]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Raise the app when clicking on a notification, not the MRU window
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 10 Oct 2013 20:28:42 +0000 (16:28 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 11 Oct 2013 17:37:10 +0000 (13:37 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=709866

js/ui/notificationDaemon.js

index 2370a49a9c3408ee40087e76ef66c9223c606a59..9287774402a31401a08ab4d7f867ff1c8d0d8041 100644 (file)
@@ -777,11 +777,8 @@ const Source = new Lang.Class({
         if (this.app == null)
             return;
 
-        let windows = this.app.get_windows();
-        if (windows.length > 0) {
-            let mostRecentWindow = windows[0];
-            Main.activateWindow(mostRecentWindow);
-        }
+        this.app.activate();
+        Main.overview.hide();
     },
 
     destroy: function() {